<ion-view view-title="周边游" class="oneday-wrap">
    <ion-header-bar align-title="center" class="bar-light">
        <!-- <button class="btn button-clear col col-10">
        <button class="btn button-clear col col-10" ui-sref="tab.home">
            <i class="iconfont icon-arrow-left greenC"></i>
        </button> -->
        <form ng-submit="searchMeilv()" style="width:100%">
            <div class="search-bar ">
                <input type="text" placeholder="请输入关键字" ng-model="search">
                <i class="iconfont icon-search grayC" ng-click="searchMeilv()"></i>
            </div>
        </form>
    </ion-header-bar>
    <ion-content>
        <div class="recommend-item mb7 mt7" ng-repeat="proInfo in oneday">
            <div class="jzimg" ui-sref="tab.onedaydetail({id:proInfo.id})">
                <img ng-src="{{fullPath(proInfo.banners[0])}}" fallback-src="img/default_img.jpg">
            </div>
            <div class="recommend-item-info">
                <h1 class="recommend-title f16 t1">{{proInfo.title}}</h1>
                <div class="likeThis" ng-class="{true:'likeThis-color-pink',false:'likeThis-color-gray'}[proInfo.collection]" ng-click="userCollection(proInfo.id)">
                    <i class="iconfont" ng-class="{true:'icon-heart-full',false:'icon-heart-empty'}[proInfo.collection]"></i>
                    <p class="likeThis-num center">{{proInfo.collect_num}}</p>
                </div>
                <p class="t1 content-desc" style="padding: 5px 5px 10px 6px;">{{proInfo.description}}</p>
                <div class="recommend-label">
                    <ul class="clearfix">
                        <li class="bgweekend" ng-if="proInfo.hands">大手牵小手</li>
                        <li class="bgmagic" ng-if="proInfo.super">非常商旅</li>
                        <li class="bgbuffet" ng-if="proInfo.party">Party党</li>
                        <li class="bgflower" ng-if="proInfo.green">绿野仙踪</li>
                    </ul>
                </div>
            </div>
            <div class="recommend-position clearfix">
                <div class="judge-recommend" ng-if="proInfo.recommend">
                    <i class="iconfont icon-recommend redC"></i>
                    <a class="recommend-path"></a>
                </div>
                <div class="judge-hot" ng-if="proInfo.hot">
                    <i class="iconfont icon-hot hotC"></i>
                    <a class="recommend-path"></a>
                </div>
            </div>
        </div>
        <ion-infinite-scroll ng-if="hasMore" on-infinite="getRecommends()">
        </ion-infinite-scroll>
    </ion-content>
</ion-view>
